package com.shire.shire_interface.dao.group;

import com.shire.shire_interface.model.group.WxGroupMember;
import com.shire.shire_interface.model.group.WxGroupMemberExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxGroupMemberDao {
    long countByExample(WxGroupMemberExample example);

    int deleteByExample(WxGroupMemberExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WxGroupMember record);

    int insertSelective(WxGroupMember record);

    List<WxGroupMember> selectByExample(WxGroupMemberExample example);

    WxGroupMember selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WxGroupMember record, @Param("example") WxGroupMemberExample example);

    int updateByExample(@Param("record") WxGroupMember record, @Param("example") WxGroupMemberExample example);

    int updateByPrimaryKeySelective(WxGroupMember record);
    int batchUpdateByPrimaryKeySelective(@Param(value = "recordList") List<WxGroupMember> recordList);
    int batchInsertByPrimaryKeySelective(@Param(value = "recordList") List<WxGroupMember> recordList);

    int updateByPrimaryKey(WxGroupMember record);
}